Bug 633291 - Handle Shift-keys in X11 gdk_test_simulate_key()
authorMartin Nordholts <martinn@src.gnome.org>
Tue, 1 Feb 2011 22:07:21 +0000 (23:07 +0100)
committerMartin Nordholts <martinn@src.gnome.org>
Sun, 13 Feb 2011 11:57:01 +0000 (12:57 +0100)
commita3f52949c421000c6fb5f3b5b6b4995bb866554b
tree70d2d45882d7202ecd10a450c142dbc9f94ebb38
parent932ab55c65fbb6cb7590512a4f3ae2d2770d0ba5
Bug 633291 - Handle Shift-keys in X11 gdk_test_simulate_key()

If a level 1 key maps to a key value passed to
gdk_test_simulate_key(), raise the GDK_SHIFT_MASK flag so the reqested
key value is generated. Also add a regression test for this fix.
gdk/x11/gdktestutils-x11.c
gtk/tests/testing.c